#define Q_SIZE 4096
#define TYPE int

typedef struct {
	TYPE data[Q_SIZE];
	int count;
	int head;
	int tail;
}queue;
int is_full(queue *q);
int is_empty(queue *q);
int queue_add(queue *q,TYPE data);
int queue_get(queue *q,TYPE *data);

